import request from './../utils/request.js'

export const getCommentListAPI = (params) => {
  return request({
    url: '/comment',
    method: 'GET',
    params
  })
}

export const delCommentByIdAPI = (id) => {
  return request({
    url: `/comment/${id}`,
    method: 'DELETE'
  })
}
